import 'package:flutter/material.dart';
import 'package:note_life/theme.dart';

import 'main_page/main_page.dart';

import 'StaticData.dart';


void main() => runApp(new MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MainFrame();
  }
}
class MainFrame extends StatefulWidget{
  @override
   createState() => _MainFrame();
}
class _MainFrame extends State<MainFrame>{
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeUtil.getTheme(() {
        setState(() {});
      }),
      home: MainPage(),
    );
  }

}